package ventanas;
import javax.swing.JButton;
import javax.swing.JLabel;
import javax.swing.JTextField;

import javax.swing.WindowConstants;
import javax.swing.SwingUtilities;


/**
* This code was edited or generated using CloudGarden's Jigloo
* SWT/Swing GUI Builder, which is free for non-commercial
* use. If Jigloo is being used commercially (ie, by a corporation,
* company or business for any purpose whatever) then you
* should purchase a license for each developer using Jigloo.
* Please visit www.cloudgarden.com for details.
* Use of Jigloo implies acceptance of these licensing terms.
* A COMMERCIAL LICENSE HAS NOT BEEN PURCHASED FOR
* THIS MACHINE, SO JIGLOO OR THIS CODE CANNOT BE USED
* LEGALLY FOR ANY CORPORATE OR COMMERCIAL PURPOSE.
*/
public class RegistrarMovimiento extends javax.swing.JFrame {
	private JLabel lbl_idProducto;
	private JTextField txt_cantidad;
	private JButton btn_cancelar;
	private JButton btn_aceptar;
	private JTextField txt_depoDest;
	private JLabel lbl_depDest;
	private JLabel lbl_cantidad;
	private JTextField txt_fechaMov;
	private JLabel lbl_fechaMov;
	private JTextField txt_idProducto;

	/**
	* Auto-generated main method to display this JFrame
	*/
	public static void main(String[] args) {
		SwingUtilities.invokeLater(new Runnable() {
			public void run() {
				RegistrarMovimiento inst = new RegistrarMovimiento();
				inst.setLocationRelativeTo(null);
				inst.setVisible(true);
			}
		});
	}
	
	public RegistrarMovimiento() {
		super();
		initGUI();
	}
	
	private void initGUI() {
		try {
			setDefaultCloseOperation(WindowConstants.DISPOSE_ON_CLOSE);
			getContentPane().setLayout(null);
			{
				lbl_idProducto = new JLabel();
				getContentPane().add(lbl_idProducto);
				lbl_idProducto.setText("Id Producto:");
				lbl_idProducto.setBounds(33, 19, 107, 27);
			}
			{
				txt_idProducto = new JTextField();
				getContentPane().add(txt_idProducto);
				txt_idProducto.setBounds(213, 21, 137, 23);
			}
			{
				lbl_fechaMov = new JLabel();
				getContentPane().add(lbl_fechaMov);
				lbl_fechaMov.setText("Fecha Movimiento:");
				lbl_fechaMov.setBounds(33, 63, 107, 21);
			}
			{
				txt_fechaMov = new JTextField();
				getContentPane().add(txt_fechaMov);
				txt_fechaMov.setBounds(213, 62, 137, 23);
			}
			{
				lbl_cantidad = new JLabel();
				getContentPane().add(lbl_cantidad);
				lbl_cantidad.setText("Cantidad:");
				lbl_cantidad.setBounds(33, 104, 69, 18);
			}
			{
				txt_cantidad = new JTextField();
				getContentPane().add(txt_cantidad);
				txt_cantidad.setBounds(213, 102, 137, 23);
			}
			{
				lbl_depDest = new JLabel();
				getContentPane().add(lbl_depDest);
				lbl_depDest.setText("Id Deposito Destino:");
				lbl_depDest.setBounds(33, 149, 116, 16);
			}
			{
				txt_depoDest = new JTextField();
				getContentPane().add(txt_depoDest);
				txt_depoDest.setBounds(213, 146, 137, 23);
			}
			{
				btn_aceptar = new JButton();
				getContentPane().add(btn_aceptar);
				btn_aceptar.setText("Registrar");
				btn_aceptar.setBounds(33, 217, 102, 30);
			}
			{
				btn_cancelar = new JButton();
				getContentPane().add(btn_cancelar);
				btn_cancelar.setText("Cancelar");
				btn_cancelar.setBounds(213, 218, 91, 25);
			}
			pack();
			setSize(400, 300);
		} catch (Exception e) {
		    //add your error handling code here
			e.printStackTrace();
		}
	}

}
